package com.aji.biomarker.mapper;

import com.aji.biomarker.domain.vo.BiomarkerVo;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BiomarkerMapper extends BaseMapper<BiomarkerVo> {
//    @Select("select cas,reference,origin from biomarker.correspondence " +
//            "left join biomarker.compound c on c.id = correspondence.compound_id\n" +
//            "left join biomarker.reference r on r.id = correspondence.reference_id\n" +
//            "left join biomarker.species s on s.id = correspondence.species_id ${ew.customSqlSegment}")
//    IPage<BiomarkerVo> listTakeName(Page<BiomarkerVo> biomarkerVoPage,@Param("ew") LambdaQueryWrapper<BiomarkerVo> biomarkerVoLambdaQueryWrapper);

}
